package com.mangaenglish.common.dto.response;

import com.google.common.collect.Lists;
import com.mangaenglish.common.constant.enums.Book;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Created by Administrator on 2018/1/7 0007.
 */
@Data
@Builder
@ApiModel("书籍")
public class BookDTO {
    @ApiModelProperty("书籍ID")
    private String bookId;
    @ApiModelProperty("目录名称")
    private String bookName;
    @ApiModelProperty("级别")
    private Book.BookType bookType;
    @ApiModelProperty("目录")
    private List<ChapterDTO> chapters;
}
